Update rubocop-rails 2.21.2 → 2.22.1 (minor) #292
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ rubocop-rails (2.21.2 → 2.22.1) · Repo · Changelog
Release Notes
2.22.1
2.22.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 47 commits:
Cut 2.22.1
Update Changelog
Merge pull request #1170 from koic/fix_a_false_positive_for_rails_duplicate_association
[Fix #1145] Fix a false positive for `Rails/DuplicateAssociation`
Merge pull request #1169 from biow0lf/fix-typo
Fix typos
Switch back docs version to master
Cut 2.22.0
Update Changelog
Merge pull request #1167 from koic/fix_an_error_for_rails_redundant_active_record_all_method
[Fix #1143] Fix an error for `Rails/RedundantActiveRecordAllMethod`
Merge pull request #1165 from fatkodima/fix-save_bang-parenthesis
Fix `Rails/SaveBang` to ignore parenthesis
Explicitly add `require 'rubocop/rake_task'` for the rake task example of README
Merge pull request #1159 from samrjenkins/fix-has-many-or-has-one-dependent-false-positive
[Fix #1158] Rails/HasManyOrHasOneDependent reports false positive when has_many or has_one called on explicit receiver
Tweak a spec for `Rails/UnknownEnv`
Fix an incorrect PR number
Merge pull request #1157 from koic/support_rails_7_1_methods_for_redundant_active_record_all_method
Support some Rails 7.1's new querying methods for `Rails/RedundantActiveRecordAllMethod`
Disable `Rails/ActionFilter` cop
[Fix #1150] Remove redundant specs
Merge pull request #1152 from r7kamura/dangerous-column-names
Add more dangerous column names to `Rails/DangerousColumnNames`
Merge pull request #1149 from koic/deprecate_rails_action_filter_cop
Merge pull request #1145 from koic/make_rails_duplicate_association_aware_of_duplicate_class_name
[Fix #1039] Deprecate `Rails/ActionFilter` cop
Merge pull request #1146 from koic/fix_a_false_positive_for_rails_not_null_column
Merge pull request #1147 from koic/support_trilogy_adapter_for_mysql
Merge pull request #1140 from koic/fix_false_positives_for_redundant_presence_validation_on_belongs_to
[Fix #952] Fix a false positive for `Rails/NotNullColumn`
Support the Trilogy adapter for MySQL
Rename a mixin module
Extract `DatabaseTypeResolver` module from `Rails/BulkChangeTable` cop
[Fix #1128] Make `Rails/DuplicateAssociation` aware of duplicate `class_name`
Merge pull request #1141 from koic/fix_a_false_positive_for_rails_output
Merge pull request #894 from ghiculescu/rails-env-local
[Fix #1041] Fix a false positive for `Rails/Output`
[Fix #1105] Fix false positives for `Rails/RedundantPresenceValidationOnBelongsTo`
Merge pull request #1139 from sambostock/fix-re-use
Fix typos
Merge pull request #1136 from masato-bkn/remove_style_guide_link_from_rails_default_scope
Remove missing style guide link from `Rails/DefaultScope`
Merge pull request #906 from sambostock/rails-env-local
Add `Rails/EnvLocal` cop
Merge pull request #1134 from sambostock/rails-71-ctx
Switch back docs version to master
✳️ rubocop (1.57.1 → 1.57.2) · Repo · Changelog
Release Notes
1.57.2
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 28 commits:
Cut 1.57.2
Update Changelog
Fix a changelog entry
[Fix #12312] Fix an incorrect autocorrect for `Style/HashSyntax`
[Fix #12310] Drop `base64` gem from runtime dependency
[Fix #12307] Fix an infinite loop error for `Layout/EndAlignment`
Tweak offense message for `Lint/Void`
[Fix #12274] Fix a false positive for `Lint/Void`
[Fix #11652] Generate inherit_from correctly also with ERB
Merge pull request #12304 from koic/fix_error_for_style_identical_conditional_branches
[Fix 12300] Fix an error for `Style/IdenticalConditionalBranches`
Merge pull request #12285 from koic/fix_false_positives_for_style_single_argument_dig
Merge pull request #12302 from koic/make_style_redundant_filter_chain_aware_of_safe_navigation
[Fix #12301] Make `Style/RedundantFilterChain` aware of safe navigation
Merge pull request #12299 from koic/fix_a_false_positive_for_style_redundant_parentheses
[Fix #12298] Fix a false positive for `Style/RedundantParentheses`
Merge pull request #12294 from koic/fix_a_false_positive_for_style_redundant_double_splat_hash_braces
Merge pull request #12292 from koic/fix_a_false_positive_for_metrics_class_length
[Fix #12293] Fix a false positive for `Style/RedundantDoubleSplatHashBraces`
[Fix #12291] Fix a false positive for `Metrics/ClassLength`
Merge pull request #12288 from koic/fix_false_positive_for_style_redundant_double_splat_hash_braces
[Fix #12286] Fix false positives for `Style/RedundantDoubleSplatHashBraces`
[Fix #12284] Fix false positives for `Style/SingleArgumentDig`
Merge pull request #12283 from koic/fix_an_error_for_style_single_line_do_end_block
Fix an error for `Style/SingleLineDoEndBlock`
[Fix #12279] Fix false positives for `Lint/EmptyConditionalBody`
[Fix #12275] Fix a false positive for `Style/RedundantDoubleSplatHashBraces`
Switch back the docs version
Release Notes
1.30.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 12 commits:
Cut 1.30.0
Update Changelog
Add `BlockNode#{first,last}_argument` helpers
Fix "Chacks" -> "Checks" typo
Suppress `RSpec/FilePath`'s offense
Fix duplicate contributor names when generating changelog
Use RuboCop RSpec 2.24
Suppress `Performance/MapMethodChain` cop's offenses
Fix a typo
Bump paambaati/codeclimate-action from 3.2.0 to 5.0.0
Suppress a warning for a custom cop
Restore docs/antora.yml
🗑️ base64 (removed)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands